﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Encryption.Cryptography;

namespace Encryption.Tests
{
    class Program
    {
        static void Main(string[] args)
        {
            string password = "ThisIsALongPassword";
            ICryptoProvider cp = new CryptoProviderRfc2898();

            string encPassword = cp.GetPassword(password);

            bool isMatch = cp.VerifyPassword(password, encPassword);

            Console.WriteLine(isMatch);
        }
    }
}
